const webpack = require('webpack');

module.exports = {
  entry: './assets/js/entry.js',
  output: {
    path: __dirname + '/assets/',
    publicPath: '/assets/',
    filename: 'bundle.js'
  },
  module: {
    loaders: [
      {test: /\.js?$/, exclude: /node_modules/, loader: 'babel!eslint'}
    ]
  },
  resolve: {
    extensions: ['', '.js', '.jsx']
  }
}
